package com.Ling.Thread.sync;

import java.util.concurrent.Callable;

/**
 * File Name: MyCallable
 * Date: 2020-06-30 14:41
 * Author: liangling
 * Description
 */
public class MyCallable implements Callable<String> {
    @Override
    public String call() throws Exception {
        for(int x = 0 ; x < 10 ; x ++) {
            System.out.println(Thread.currentThread().getName()+":"+x);
        }
        return null;


    }
}
